package org.scirp.ijmis.service.personpaper.impl;

import java.util.List;

import org.scirp.ijmis.dao.personpaper.ILoginInformationDAO;
import org.scirp.ijmis.po.personpaper.LoginInformation;
import org.scirp.ijmis.service.personpaper.ILoginInformationService;

public class LoginInformationServiceImpl implements ILoginInformationService {

	private ILoginInformationDAO loginInformationDAO;

	public Long saveLoginInformation(LoginInformation loginInformation) {

		return loginInformationDAO.saveLoginInformation(loginInformation);
	}

	public List<LoginInformation> selectAll() {
		return null;
	}

	public List<LoginInformation> selectByPersonId(long personId, Long loginTimeNumbers) {
		return loginInformationDAO.selectByPersonId(personId, loginTimeNumbers);
	}

	public ILoginInformationDAO getLoginInformationDAO() {
		return loginInformationDAO;
	}

	public void setLoginInformationDAO(ILoginInformationDAO loginInformationDAO) {
		this.loginInformationDAO = loginInformationDAO;
	}

}
